package com.pn.service;

import com.pn.entity.Supply;
import com.pn.utils.PageBean;
import com.pn.utils.Result;

import java.util.List;

public interface SupplyService {
    //显示供货商信息
    PageBean supplyPageList(Supply supply);

    //修改供货商
    Result supplyUpdate(Supply supply);

    //添加供货商
    Result supplyAdd(Supply supply);

    //删除供货商
    Result supplyDelete(Integer supplyId);

    List<Supply> supplyList();

    //查看供货商编号是否存在
    Result supplyNumCheck(String supplyNum1);
}
